home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.023.FracApp 2.0 / FracApp.MAMake < prev    next >
Encoding:
Text File  |  1990-04-30  |  4.0 KB  |  104 lines  |  [TEXT/MPS ]

  1. #-------------------------------------------------------------------------------------------
  2. #
  3. #    Program:    FracApp 2.0
  4. #    File:        FracApp.MAMake
  5. #
  6. #    by Keith Rollin & Bo3b Johnson
  7. #    of Apple Macintosh Developer Technical Support
  8. #
  9. #    Copyright © 1988-1990 Apple Computer, Inc.
  10. #    All rights reserved.
  11. #
  12. #-------------------------------------------------------------------------------------------
  13.  
  14. #-------------------------------------------------------------------------------------------
  15. # The first time, build with:
  16. #
  17. #    MABuild -NeedsColorQD -NeedsFPU [-NeedsMC68020] FracApp -AutoBuild
  18. #
  19. # After the first time, MacApp will be properly built, so you can take out the “-AutoBuild”
  20. #
  21. #    MABuild -NeedsColorQD -NeedsFPU [-NeedsMC68020] FracApp
  22. #-------------------------------------------------------------------------------------------
  23.  
  24. #-------------------------------------------------------------------------------------------
  25. #    List here the name of the file you are building. This is the file that is used
  26. #    as the target for MABuild. The way it works is this: MABuild defines a lot of
  27. #    dependencies that start off being dependent on the variable “AppName”. These
  28. #    dependencies trigger other dependencies, and so on and so on, until it's
  29. #    determined what needs to be recompiled and what doesn't. Therefore, it's very
  30. #    important that Make know exactly what “AppName” is. When we type “MABuild
  31. #    FracApp”, Make starts looking for something that depends on “FracApp”. Well, it
  32. #    can't find anything, but it DOES see things dependent on “AppName”, and it
  33. #    knows that “FracApp” and “AppName” are the same thing, and so the ball gets
  34. #    rolling...
  35. #-------------------------------------------------------------------------------------------
  36.  
  37. AppName = FracApp
  38.  
  39. #-------------------------------------------------------------------------------------------
  40. #    The Rez templates have changed from MPW 3.0/3.1 to MPW 3.2 (or will change,
  41. #    depending on when you read this). Our .r file has conditional statements that
  42. #    will cause the right things to happen. By default, we are in 3.0/3.1 format
  43. #    mode. By commenting out the following line, we allow it to be compiled under
  44. #    MPW 3.2 instead.
  45. #-------------------------------------------------------------------------------------------
  46.  
  47. OtherRezOptions = -d MPW32 -d OldTemp
  48.  
  49. #-------------------------------------------------------------------------------------------
  50. #    List here the interfaces for your program. The following files will be
  51. #    made dependant on them:
  52. #
  53. #            M<YourAppName>.p.o
  54. #            U<YourAppName>.p.o
  55. #            <YourAppName>.p.o
  56. #-------------------------------------------------------------------------------------------
  57.  
  58. OtherInterfaces = ∂
  59.         "{SrcApp}UAreaSelector.p" ∂
  60.         "{SrcApp}UOffScreen.p" ∂
  61.         "{SrcApp}URectStack.p"
  62.  
  63. #-------------------------------------------------------------------------------------------
  64. #    List here all the object files you’ll link with. This is in addition to
  65. #    the standard MacApp and system libraries.
  66. #-------------------------------------------------------------------------------------------
  67.  
  68. OtherLinkFiles = ∂
  69.         "{ObjApp}UAreaSelector.p.o" ∂
  70.         "{ObjApp}UOffScreen.p.o" ∂
  71.         "{ObjApp}URectStack.p.o" ∂
  72.         "{ObjApp}GoFigger.a.o"
  73.  
  74. #-------------------------------------------------------------------------------------------
  75. #    List object file dependancies
  76. #-------------------------------------------------------------------------------------------
  77.  
  78. "{ObjApp}UAreaSelector.p.o"    ƒ ∂
  79.                             "{SrcApp}UAreaSelector.inc1.p" ∂
  80.                             "{SrcApp}UFracApp.p" ∂
  81.                             "{SrcApp}URectStack.p" ∂
  82.                             "{SrcApp}UOffScreen.p" ∂
  83.                             {BuildingBlocksPascalIntf} ∂
  84.                             {MacAppPascalIntf} ∂
  85.                             {PascalLoad}
  86.  
  87. "{ObjApp}UOffScreen.p.o"    ƒ ∂
  88.                             "{SrcApp}UOffScreen.inc1.p" ∂
  89.                             {BuildingBlocksPascalIntf} ∂
  90.                             {MacAppPascalIntf} ∂
  91.                             {PascalLoad}
  92.  
  93. "{ObjApp}URectStack.p.o"    ƒ ∂
  94.                             "{SrcApp}URectStack.inc1.p" ∂
  95.                             {BuildingBlocksPascalIntf} ∂
  96.                             {MacAppPascalIntf} ∂
  97.                             {PascalLoad}
  98.  
  99. "{ObjApp}GoFigger.a.o"        ƒ ∂
  100.                             "{SrcApp}GoFigger.a" ∂
  101.                             "{AIncludes}Traps.a"
  102.  
  103.  
  104.